package com.yfp.machine.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class MachineAdListDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(title = "广告名称")
    private String adName;
    @Schema(title = "播放广告屏幕（1：主屏全屏 2：辅屏全屏 3：主屏主页 4：副屏主页）")
    private Integer palyAdPosition;

    @Schema(title = "播放广告屏幕（1：主屏全屏 2：辅屏全屏 3：主屏主页 4：副屏主页）")
    private String palyAdPositionName;

    @Schema(title = "广告id")
    private String adId;
    /**
     * 广告类型
     */
    @Schema(title = "广告类型")
    private Integer adType;
    /**
     * 播放开始时间
     */
    @Schema(title = "播放开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date palyBeginTime;
    /**
     * 播放结束时间
     */
    @Schema(title = "播放结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date playEndTime;

    @Schema(title = "播放状态（1：未开始 2：播放中 3：已结束）")
    private Integer palyStatus;

    @Schema(title = "播放状态（1：未开始 2：播放中 3：已结束）")
    private String palyStatusName;

    @Schema(title = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @Schema(title = "资源id")
    private String resourceId;
    @Schema(title = "广告内容")
    private String adUrl;

    @Schema(title = "操作人")
    private String updateOper;

    @Schema(title = "是否删除")
    private Boolean isDelete;

    @Schema(title = "设备信息")
    private List<String> machineNames;
    @Schema(title = "设备id")
    private List<String> machineIds;


    public String getAdName() {
        return adName;
    }

    public void setAdName(String adName) {
        this.adName = adName;
    }

    public Integer getPalyAdPosition() {
        return palyAdPosition;
    }

    public void setPalyAdPosition(Integer palyAdPosition) {
        this.palyAdPosition = palyAdPosition;
    }

    public String getPalyAdPositionName() {
        return palyAdPositionName;
    }

    public void setPalyAdPositionName(String palyAdPositionName) {
        this.palyAdPositionName = palyAdPositionName;
    }

    public String getAdId() {
        return adId;
    }

    public void setAdId(String adId) {
        this.adId = adId;
    }

    public Integer getAdType() {
        return adType;
    }

    public void setAdType(Integer adType) {
        this.adType = adType;
    }

    public Date getPalyBeginTime() {
        return palyBeginTime;
    }

    public void setPalyBeginTime(Date palyBeginTime) {
        this.palyBeginTime = palyBeginTime;
    }

    public Date getPlayEndTime() {
        return playEndTime;
    }

    public void setPlayEndTime(Date playEndTime) {
        this.playEndTime = playEndTime;
    }

    public Integer getPalyStatus() {
        return palyStatus;
    }

    public void setPalyStatus(Integer palyStatus) {
        this.palyStatus = palyStatus;
    }

    public String getPalyStatusName() {
        return palyStatusName;
    }

    public void setPalyStatusName(String palyStatusName) {
        this.palyStatusName = palyStatusName;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getResourceId() {
        return resourceId;
    }

    public void setResourceId(String resourceId) {
        this.resourceId = resourceId;
    }

    public String getAdUrl() {
        return adUrl;
    }

    public void setAdUrl(String adUrl) {
        this.adUrl = adUrl;
    }

    public String getUpdateOper() {
        return updateOper;
    }

    public void setUpdateOper(String updateOper) {
        this.updateOper = updateOper;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public List<String> getMachineNames() {
        return machineNames;
    }

    public void setMachineNames(List<String> machineNames) {
        this.machineNames = machineNames;
    }

    public List<String> getMachineIds() {
        return machineIds;
    }

    public void setMachineIds(List<String> machineIds) {
        this.machineIds = machineIds;
    }
}
